Fix final misuse of prettyprint parameters.
authoremellor@ewan <emellor@ewan>
Tue, 27 Sep 2005 21:08:07 +0000 (22:08 +0100)
committeremellor@ewan <emellor@ewan>
Tue, 27 Sep 2005 21:08:07 +0000 (22:08 +0100)
tools/python/xen/xend/PrettyPrint.py

index 198ee4a612910e573e21a3e792bc408c1f8a7952..2819f02dcff62dbddf6413717fe745e40146c55e 100644 (file)
@@ -39,9 +39,9 @@ class PrettyItem:
         print '***PrettyItem>output>', self
         pass
 
-    def prettyprint(self, _, width):
+    def prettyprint(self, _):
         print '***PrettyItem>prettyprint>', self
-        return width
+        return self.width
 
 class PrettyString(PrettyItem):